//
//  ClubListTableViewCell.swift
//  约健
//
//  Created by tyh on 2017/9/28.
//  Copyright © 2017年 tyh. All rights reserved.
//

import UIKit

class ClubListTableViewCell: UITableViewCell {

    @IBOutlet weak var Pic: UIImageView!
    @IBOutlet weak var hits: UILabel!
    @IBOutlet weak var clubname: UILabel!
    @IBOutlet weak var darkView: UIView!
    
    class func creatCell(_ tableView : UITableView) -> ClubListTableViewCell {
        var cell = tableView.dequeueReusableCell(withIdentifier: "ClubListTableViewCell")
        if cell == nil{
            cell = (Bundle.main.loadNibNamed("ClubListTableViewCell", owner: nil, options: nil))?.first as! ClubListTableViewCell
        }
        return cell as! ClubListTableViewCell;
    }
    
    override func awakeFromNib() {
        super.awakeFromNib()
        self.darkView.backgroundColor = UIColor(red: 0 / 255.0, green: 0 / 255.0, blue: 0 / 255.0, alpha: 0.4)
        // Initialization code
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
}
